﻿using YNTK.Common.Filter;
using YNTK.Dependency;

namespace YNTK.FileRecord.Entitys
{
    /// <summary>
    /// 查询文件清单请求模型
    /// </summary>
    [SuppressSniffer]
    public class QueryFileInventoryFilterRequestModel: PageBaseRequestModel
    {
        /// <summary>
        /// 机构id
        /// </summary>
        public string? mechanismId { get; set; } = string.Empty;

        /// <summary>
        /// 文件清单分类id
        /// </summary>
        public string? classifyId { get; set; } = string.Empty;

        /// <summary>
        /// 创建时间-起
        /// </summary>
        public DateTime? startTime { get; set; } = null;

        /// <summary>
        /// 创建时间-止
        /// </summary>
        public DateTime? endTime { get; set; } = null;

        /// <summary>
        /// 启用/禁用,1.启用 0.禁用 2.全部
        /// </summary>
        public int? enabledMark { get; set; } = null;

        /// <summary>
        /// 模糊查询,工作项/事项、备注
        /// </summary>
        /// <example></example>
        public string? keyword { get; set; } = string.Empty;
    }
}
